package com.activiti.z_six.mapper.taskAssigneeMapper;

import com.activiti.z_six.entity.taskAssignee.FlowElementAttrs;
import com.activiti.z_six.entity.process.FlowEnum;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface FlowElementAttrsMapper {
    /**
    查询
     */
    FlowElementAttrs getFlowElementAttrs(String task_def_id);
    FlowElementAttrs getFlowElementFormAttrs(String process_key);
    /*
    新增
     */
    int setFlowElementAttrs(FlowElementAttrs flowElementAttrs);
    /*
    修改
     */
    int updateFlowElementAttrs(FlowElementAttrs flowElementAttrs);
    int updateFlowMap(FlowElementAttrs flowElementAttrs);
    List<FlowEnum> enumList();
}
